import request from '../utils/request';

//更具姓名和学号查询学员
export const queryStudentApi=(name,no)=>{
    return request.get(`/students/account?name=${name}&no=${no}`);
};

//查寻班级
export const queryClazzBySubjectApi=(subject)=>{
    return request.get(`/clazzs/subject/${subject}`);
};

//学生登陆
export const StuloginApi=(data)=>{
    return request.post("/stuLogin",data);
};



//查询学生日志
export const queryStuLogApi=(no)=>{
    return request.get(`/stuLog?no=${no}`);
};

//更新学生日志
export const updateStuLogApi=(data)=>{
    return request.put("/stuLog",data);
};
